package cn.ycl.system.biz.shop.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (KillInfo)实体类
 *
 * @author yuanchangliang
 * @since 2021-09-30 16:11:14
 */
public class KillInfo implements Serializable {
    private static final long serialVersionUID = 123401715773923209L;

    private Long id;
    /**
     * 秒杀名称
     */
    private String name;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 秒杀开始时间
     */
    private Date killStartTime;
    /**
     * 秒杀结束时间
     */
    private Date killEndTime;
    /**
     * 提供秒杀的库存
     */
    private String sku;
    /**
     * 秒杀的价格
     */
    private Double killPrice;
    /**
     * 秒杀链接
     */
    private String killUrl;
    /**
     * 乐观锁
     */
    private Integer version;
    /**
     * 是否删除
     */
    private Boolean isDeleted;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Date getKillStartTime() {
        return killStartTime;
    }

    public void setKillStartTime(Date killStartTime) {
        this.killStartTime = killStartTime;
    }

    public Date getKillEndTime() {
        return killEndTime;
    }

    public void setKillEndTime(Date killEndTime) {
        this.killEndTime = killEndTime;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public Double getKillPrice() {
        return killPrice;
    }

    public void setKillPrice(Double killPrice) {
        this.killPrice = killPrice;
    }

    public String getKillUrl() {
        return killUrl;
    }

    public void setKillUrl(String killUrl) {
        this.killUrl = killUrl;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

}
